﻿using StoneAge.DataContract.View;
using StoneAge.Models.Entity;

namespace StoneAge.DataContract.Extension
{
    public static class MapExtensionMethod
    {
        public static MapView ConvertToMapView(this Map map)
        {
            return new MapView
            {
                MapName = map.Name
            };
        }
    }
}
